Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

230
Views
error, "[error] 33#33: *92500 connect() falló (111: Conexión rechazada) mientras se conectaba a upstream, cliente: 216.58.212.244, servidor: #1906

Al tratar de alojar una API en App Engine usando FastAPI, originalmente estaba usando Flask, que funcionaba pero era muy lento. Ahora recibo el siguiente error: error, "[error] 33#33: *92500 connect() failed (111: Connection refused) while connecting to upstream, client: 216.58.212.244, server:

Este es el archivo app.yaml:

 runtime: python env: flex entrypoint: uvicorn --host 127.0.0.1 --port 8080 --timeout-keep-alive 500 main:app service: default instance_class: F4_1G # Instance Class: F4_1G # Memory Limit: 2048 MB # CPU Limit: 2.4 GHz # Supported Scaling Types: Automatic runtime_config: python_version: 3 handlers: - url: /.* script: auto network: forwarded_ports: - 8080

Este es el script principal, la mayor parte del código ha tenido que ser eliminado:

 import uvicorn from fastapi import FastAPI, Request app = FastAPI() @app.get('/') async def nlp_email(return_method : str, user_email : str, filename : str) return {'html': html}
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Está vinculando su aplicación en la interfaz de red 127.0.0.1, lo que significa que solo se puede acceder a ella en localhost.

Para hacer que su aplicación se vincule a todas las interfaces de red disponibles, puede usar 0.0.0.0

 entrypoint: uvicorn --host 0.0.0.0 --port 8080 --timeout-keep-alive 500 main:app
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!